﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BackOffice.Master" AutoEventWireup="true" CodeBehind="Reward_Maintenance.aspx.cs" Inherits="BackOffice.Reward_Maintenance" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <div>
        <table>
            <tr>
                <td>
                    <asp:DropDownList ID="ddlPromotion" runat="server" ></asp:DropDownList>
                </td>  
                <td>
                    <asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click"/>
                </td>              
            </tr>

            <tr>
                <td>
                    <asp:Label ID="lblPromotion" runat="server" Text="Promotion"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtPromotion" runat="server"></asp:TextBox>
                </td>
            </tr>

            <tr>
                <td>
                    <asp:Label ID="lblRate" runat="server" Text="Rate"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtRate" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblAddOn" runat="server" Text="Add on"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtAddOn" runat="server"></asp:TextBox>
                </td>
            </tr>

            <tr>
                <td>
                    <asp:Label ID="lblActive" runat="server" Text="Active"></asp:Label>
                </td>  
                <td>
                    <asp:RadioButtonList ID="rbActive" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0">Deactive</asp:ListItem>
                        <asp:ListItem Value="1">Active</asp:ListItem>
                    </asp:RadioButtonList>
                </td>              
            </tr>
    
            <tr>
                <td>
                    <asp:Button ID="btnAdd" runat="server" Text="Add" onclick="btnAdd_Click" />
                </td>
                <td>
                    <asp:Button ID="btnChange" runat="server" Text="Change" 
                        onclick="btnChange_Click" />                    
                </td>
            </tr>
        </table>
        </div> 
        
        <br /><br /> 

        <div>
            <table style="width: 100%;">
            <tr>
                <td colspan="2">
                    <asp:Label ID="Label1" runat="server" Text="Add Redeem Items:"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="lblPicture" runat="server" Text="Picture:"></asp:Label>
                </td>
                <td>
                    </td>
            </tr>
            <tr>
                <td class="style1">
                    </td>
                <td>
                <asp:Image ID="ImgUpload" runat="server" Height="250px" Width="205px" />
                    <br />
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="style1">
                    </td>
                <td>
                    <asp:Button ID="btnUpload" runat="server" onclick="btnUpload_Click" 
                        Text="Upload" Width="73px" />
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="lblProductName" runat="server" Text="Product Name: "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtProdudctName" runat="server"></asp:TextBox>
                </td>
            </tr>            
            <tr>
                <td class="style1">
                    <asp:Label ID="lblPoint" runat="server" Text="Point: "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtPoint" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="lblQuantity" runat="server" Text="Quantity: "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtQuantity" runat="server"></asp:TextBox>    
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblStatus" runat="server" Text="Status: "></asp:Label>
                </td>
                <td>
                    <asp:RadioButtonList ID="rbStatus" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0">Deactivated</asp:ListItem>
                        <asp:ListItem Value="1" Selected="True">Activated</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    </td>
                <td>
                    <table>
                        <tr>
                            <td>
                                <asp:Button ID="btnAdd2" runat="server" Text="Add" Width="67px" 
                                onclick="btnAdd2_Click"/>
                            </td>
                            <td>
                                <asp:ImageButton ID="btnRewardList" runat="server" ImageUrl="../link.jpg" 
                                    onclick="btnRewardList_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        
        </div>

    
</asp:Content>

